package com.zeratul.common.satoken.domain.entity;

import com.zeratul.common.satoken.domain.entity.base.LoginUserAdapter;
import com.zeratul.common.satoken.enums.UserType;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 游客类型用户
 */
@Data
@Accessors(chain = true)
public class Guest extends LoginUserAdapter {

    /**
     * 返回用户ID
     */
    @Override
    public String getUserId() {
        return null;
    }

    /**
     * 返回用户类型
     */
    @Override
    public UserType getUserType() {
        return UserType.GUEST;
    }
}
